package com.ys.web.ws.send.po;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author dhf
 * @ClassName GChatReadPO.java
 * @Description 群聊  用户读取条数表
 */
@Data
@Accessors(chain = true)
@Table(name = "s_group_chat_read")
public class GChatReadPO {

    @Id
    public Integer id;

    /**
     * 群id
     */
    @Column(name = "`from`")
    public String from;

    /**
     * 用户id
     */
    @Column(name = "`to`")
    public String to;

    /**
     * 用户已读最大id
     */
    public Long maxId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public Long getMaxId() {
        return maxId;
    }

    public void setMaxId(Long maxId) {
        this.maxId = maxId;
    }
}
